import type { AppRouteModule } from '/@/router/types'

import { LAYOUT } from '/@/router/constant'

const tenant: AppRouteModule = {
    path: '/notice',
    name: 'Notice',
    component: LAYOUT,
    redirect: '/notice/list',
    meta: {
        icon: 'noto:loudspeaker',
        title: '通知管理',
    },
    children: [
        {
            path: 'list',
            name: 'NoticeList',
            component: () => import('/@/views/notice/index.vue'),
            meta: {
                title: '通知列表',
                icon: 'noto:cinema',
            },
        },
    ],
}

export default tenant
